/**
 * ipassbook 0.6.0
 * Copyright (C)2009 wateray and contributors
 * wateray@gmail.com
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

package com.wateray.ipassbook.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author wateray
 * @create 2009-5-23
 */
public class Passbook implements Entity, Serializable {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	private String passbookId;
	private String passbookName;
	private String passbookFlag;
	private String passbookCode;
	private String cardName;
	private String cardCode;
	private String bankId;
	private String subBankId;
	private String holder;
	private String createDate;
	private double yearFee;
	private String status;
	private String closeDate;
	private String memo;
	private String regeditUserId;
	private Date regeditDate;
	private String updateUserId;
	private Date updateDate;
	
	private List<PassbookDetail> passbookList;
	
	public Passbook(){}
	
	/**
	 * @return the passbookId
	 */
	public String getPassbookId() {
		return passbookId;
	}


	/**
	 * @param passbookId the passbookId to set
	 */
	public void setPassbookId(String passbookId) {
		this.passbookId = passbookId;
	}
	
	/**
	 * @return the passbookName
	 */
	public String getPassbookName() {
		return passbookName;
	}


	/**
	 * @param passbookName the passbookName to set
	 */
	public void setPassbookName(String passbookName) {
		this.passbookName = passbookName;
	}
	

	/**
	 * @return the passbookFlag
	 */
	public String getPassbookFlag() {
		return passbookFlag;
	}


	/**
	 * @param passbookFlag the passbookFlag to set
	 */
	public void setPassbookFlag(String passbookFlag) {
		this.passbookFlag = passbookFlag;
	}


	/**
	 * @return the passbookCode
	 */
	public String getPassbookCode() {
		return passbookCode;
	}


	/**
	 * @param passbookCode the passbookCode to set
	 */
	public void setPassbookCode(String passbookCode) {
		this.passbookCode = passbookCode;
	}


	/**
	 * @return the cardName
	 */
	public String getCardName() {
		return cardName;
	}


	/**
	 * @param cardName the cardName to set
	 */
	public void setCardName(String cardName) {
		this.cardName = cardName;
	}


	/**
	 * @return the cardCode
	 */
	public String getCardCode() {
		return cardCode;
	}


	/**
	 * @param cardCode the cardCode to set
	 */
	public void setCardCode(String cardCode) {
		this.cardCode = cardCode;
	}


	/**
	 * @return the bankId
	 */
	public String getBankId() {
		return bankId;
	}


	/**
	 * @param bankId the bankId to set
	 */
	public void setBankId(String bankId) {
		this.bankId = bankId;
	}


	/**
	 * @return the subBankId
	 */
	public String getSubBankId() {
		return subBankId;
	}


	/**
	 * @param subBankId the subBankId to set
	 */
	public void setSubBankId(String subBankId) {
		this.subBankId = subBankId;
	}


	/**
	 * @return the holder
	 */
	public String getHolder() {
		return holder;
	}


	/**
	 * @param holder the holder to set
	 */
	public void setHolder(String holder) {
		this.holder = holder;
	}


	/**
	 * @return the createDate
	 */
	public String getCreateDate() {
		return createDate;
	}


	/**
	 * @param createDate the createDate to set
	 */
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}


	/**
	 * @return the yearFee
	 */
	public double getYearFee() {
		return yearFee;
	}


	/**
	 * @param yearFee the yearFee to set
	 */
	public void setYearFee(double yearFee) {
		this.yearFee = yearFee;
	}


	/**
	 * @return the status
	 */
	public String getStatus() {
		return status;
	}


	/**
	 * @param status the status to set
	 */
	public void setStatus(String status) {
		this.status = status;
	}


	/**
	 * @return the closeDate
	 */
	public String getCloseDate() {
		return closeDate;
	}


	/**
	 * @param closeDate the closeDate to set
	 */
	public void setCloseDate(String closeDate) {
		this.closeDate = closeDate;
	}


	/**
	 * @return the memo
	 */
	public String getMemo() {
		return memo;
	}


	/**
	 * @param memo the memo to set
	 */
	public void setMemo(String memo) {
		this.memo = memo;
	}


	/**
	 * @return the regeditUserId
	 */
	public String getRegeditUserId() {
		return regeditUserId;
	}


	/**
	 * @param regeditUserId the regeditUserId to set
	 */
	public void setRegeditUserId(String regeditUserId) {
		this.regeditUserId = regeditUserId;
	}


	/**
	 * @return the regeditDate
	 */
	public Date getRegeditDate() {
		return regeditDate;
	}


	/**
	 * @param regeditDate the regeditDate to set
	 */
	public void setRegeditDate(Date regeditDate) {
		this.regeditDate = regeditDate;
	}


	/**
	 * @return the updateUserId
	 */
	public String getUpdateUserId() {
		return updateUserId;
	}


	/**
	 * @param updateUserId the updateUserId to set
	 */
	public void setUpdateUserId(String updateUserId) {
		this.updateUserId = updateUserId;
	}


	/**
	 * @return the updateDate
	 */
	public Date getUpdateDate() {
		return updateDate;
	}


	/**
	 * @param updateDate the updateDate to set
	 */
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}


	/**
	 * @return the passbookList
	 */
	public List<PassbookDetail> getPassbookList() {
		return passbookList;
	}

	/**
	 * @param passbookList the passbookList to set
	 */
	public void setPassbookList(List<PassbookDetail> passbookList) {
		this.passbookList = passbookList;
	}

	/** (non-Javadoc)
	 * @see com.wateray.ipassbook.domain.Entity#getEntityId()
	 */
	@Override
	public String getEntityId() {
		// TODO Auto-generated method stub
		return passbookId;
	}

	/** (non-Javadoc)
	 * @see com.wateray.ipassbook.domain.Entity#getEntityName()
	 */
	@Override
	public String getEntityName() {
		// TODO Auto-generated method stub
		return passbookName;
	}

}
